import click
from subway_qa.entrypoints.gradio_demo import main as gradio_main
from subway_qa.entrypoints.sync_data import sync_data


@click.group()
def cli():
    """Main entry point for the application."""
    pass


@cli.command()
def gradio_demo():
    """Launch the Gradio demo interface."""
    gradio_main()


cli.add_command(sync_data)


if __name__ == "__main__":
    cli()
